package com.tamtamy.jtta.data.json;

import net.sf.json.JSONObject;

import com.tamtamy.jtta.data.UserStats;
import com.tamtamy.jtta.utility.JSONUtility;

public class JSONUserStats extends UserStats {

	public JSONUserStats(JSONObject jsonObject) {
		super();
		this.id = Long.parseLong(JSONUtility.getString(jsonObject, "id"));
        this.generated = JSONUtility.getDate(jsonObject, "generated");
        this.position = JSONUtility.getString(jsonObject, "position");				
	}
}
